package  
{
	import flash.display.DisplayObjectContainer;
	import flash.display.Stage;
	/**
	 * ...
	 * @author jun
	 */
	public class MangMeiMgr 
	{
		static public var stage:Stage = null;
		static public var root:DisplayObjectContainer = null;
		static public var stage_width:Number;
		static public var stage_height:Number;
		static public var RESOURCE_ROOT:String = "../media";
		public function MangMeiMgr() 
		{
			
		}
		
		static public function initRoot(d:DisplayObjectContainer):void
		{
			if (d != null && d.stage != null && d.parent is Stage)
			{
				root = d;
				stage = d.stage;
				stage_width = stage.width;
				stage_height = stage.height;
			}
		}
		
		
		
		
	}

}